Search results
54 packages found
Check if a path exists
Check if filepath exists and is a file
Check to see if a directory exists
Simple and consistent way to check if a file exists 🔎
fs.exists with ES6 Promise that is not deprecated
Test whether a path exists on the filesystem.
Check if filepath exists and is a file. Note this is a fork of file-exists dpenedency with some ammendments.
Write data to a file, replacing the file if it already exists and creating any intermediate directories if they don't already exist. Thin wrapper around node's native fs methods.
- async
- file path
- file system
- file
- filepath
- files
- filesystem
- folder
- fs
- fs.writeFile
- fs.writeFileSync
- path
- promise
- streams
- View more
Returns true if a filepath exists on the file system and it's directory.
Asynchronous file system library with chainable Q promises for Node.js
Check if a file or directory exists in a given path.
Ensures that a file exists: if not, it creates it.
Drop-in replacement for `fs.existsSync` with zero dependencies. Other libs I found either have crucial differences from fs.existsSync, or unnecessary dependencies. See README.md for more info.
Basic file system tools with easy to remember names
Test whether a path exists on the filesystem.
A simple lightweight zero-dependency asynchronous utility function to check the existence of files and directories using Node.js' fs.promises.
Captures a folder/file based on a path.
promises fs and takes care about fs.open
Captures a folder/file based on a path.
Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`